//
//  MKCity.m
//  ChooseLocation
//
//  Created by Apple on 14/11/25.
//  Copyright (c) 2014年 Apple. All rights reserved.
//

#import "MKCity.h"

@implementation MKCity

- (id)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super init]) {
        self.cityName = [aDecoder decodeObjectForKey:@"cityName"];
        self.letter = [aDecoder decodeObjectForKey:@"letter"];
    }
    return self;
}

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.cityName forKey:@"cityName"];
    [aCoder encodeObject:self.letter forKey:@"letter"];
}


@end
